package demo;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *
 * Created by xiahj on 2017/8/12.
 */
@Controller
public class DemoController {

    @ResponseBody
    @RequestMapping("/")
    public String demo(){
        return "Hello";
    }
}
